package com.yst.gateway.monitor.dao;

import com.yst.gateway.monitor.models.QzChannels;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface QzChannelsMapper {
    int deleteByPrimaryKey(String channelId);

    int insert(Map<String, Object> record);

    QzChannels selectByPrimaryKey(String channelId);

    List<QzChannels> selectAll(Map<String, Object> map);

    int updateByPrimaryKey(QzChannels record);
    
    int insertBatch(Map<String, Object> record);
    
    int delByPrimaryKey(Map<String, Object> parmap);
    
    List<QzChannels> getRelateBusi(@Param("channelId") String channelId);
    
    int delChannelBusiById(Map<String, Object> map);
    
    QzChannels checkName(Map<String, String> paramMap);
	QzChannels checkCode(Map<String, String> paramMap);
    
}